﻿namespace TheHeGeo.Util.Validate
{
    public class ObjValidateNotEmpty:ObjValidateBase
    {
        public ObjValidateNotEmpty(string errStr) : base(errStr)
        {
        }

        public override bool IsValidate(object value)
        {
            return value != null && string.IsNullOrEmpty(value.ToString());
        }
    }
}